package JSE_05.Demo07;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Arrays;

public class Demo07InputStream{
    public static void main(String[] args) throws IOException {
        FileInputStream fs=new FileInputStream("md_00\\src\\JSE_05\\Demo07\\a.txt");
        byte[] bytes=new byte[1024];
        int len=0;
        while((len=fs.read(bytes))!=-1){
            System.out.println(new String(bytes));
        }
    }
}
